/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class TestDemo {
    public static void main(String[] args) {
        int[] array = {1,2,3,4,5,6};
        printArray(array);
    }

    public static void printArray(int[] array){
        for (int x:array) {
            System.out.print(x+" ");
        }
    }
}
